package ticketManager.mailSenderServlet;
import java.util.Timer;

import java.util.Timer;

public class TimerEmail {

    public void timersend(){
    

        MyTask myTask = new MyTask();

        Timer timer = new Timer();

        timer.schedule(myTask, 1000,  3600 * 1000);

        //sendemail.send();
        //timer.cancel();
        System.out.println("main end");
    }
    

}
